<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ForumPage.ascx.cs" Inherits="forums_controls_forums_ForumPage" %>
<%@ Register Src="../misc/Header.ascx" TagName="Header" TagPrefix="uc5" %>
<%@ Register Src="../misc/Pager.ascx" TagName="Pager" TagPrefix="uc4" %>
<%@ Register Src="ForumThreads.ascx" TagName="ForumThreads" TagPrefix="uc3" %>
<%@ Register Src="forumgrid.ascx" TagName="forumgrid" TagPrefix="uc1" %>
<asp:MultiView runat="server" ID="mviewForum">
    <asp:View runat="server" ID="viewForum">
        <uc5:Header ID="Header1" runat="server" />
        <asp:Panel runat="server" ID="pnlSubforums" Width="100%">
            <b>Subforums:</b>&nbsp;
            <uc1:forumgrid ID="Forumgrid1" runat="server" ShowHeader="true" />
            <div>&nbsp;</div>
            <div><b>Threads:</b></div>
        </asp:Panel>
        
        <table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="left" valign="bottom" width="10%">
                    <asp:HyperLink runat="server" ID="lnkNewThread"
                Text="New Thread"/>
                </td>
                <td align="right" valign="bottom" width="90%">
                    <uc4:Pager ID="Pager1" runat="server"
                        HeaderText="(Page "
                        FooterText=")" />
                </td>
            </tr>
        </table>
        <uc3:ForumThreads ID="ForumThreads1" runat="server"
            ShowHeader="true"/>
    </asp:View>
    <asp:View runat="server" ID="viewError">
        <p>
        <a href="default.aspx">FSTDT Forums</a>
        </p>
        <p>
        Forum not found.
        </p>
    </asp:View>
</asp:MultiView>